package network;

@SuppressWarnings("serial")
public class DifferentInfoHashException extends Exception {
	
	private static final String DIFFERENT_INFO_HASH = "Different Info Hash";
	private String m_message;

	public void setMessage(String message) {
		this.m_message = message;
	}

	public DifferentInfoHashException() {
		super();
		setMessage(DIFFERENT_INFO_HASH);
	}

	public DifferentInfoHashException(String message) {
		super(message);
		setMessage(message);
	}
}
